﻿namespace PLCSharp.IEC61131_3
{
    public struct INT
    {
        private short value;

        public static implicit operator short(INT i)
        {
            return i.value;
        }

        public static implicit operator INT(short s)
        {
            INT i = new()
            {
                value = s
            };
            return i;
        }
    }
}